#include <QCoreApplication>
#include "httpDownload.h"

int main(int argc, char *argv[])
{
	QCoreApplication a(argc, argv);

     //Downloader downloader;
	//  downloader.downloadFileFromURL("http://mt2.google.cn/vt/lyrs=y&scale=2&hl=zh-CN&gl=cn&x=6891&y=3040&z=13",
	  //                               "G:/Documents/picture");

	downloadURL("http://mt2.google.cn/vt/lyrs=y&scale=2&hl=zh-CN&gl=cn&x=6891&y=3040&z=13", "D:\\projects\\1.png");

		return a.exec();
}
